<?php /* Smarty version 2.6.26, created on 2012-05-12 14:52:52
         compiled from C:%5CWampDeveloper%5CWebsites%5Cwww.siyaradiali.com%5Cwebroot%5Cplugins/fieldBoundBoxes/field-bound_box.tpl */ ?>
<!-- field-bound box tpl -->

<?php if (! empty ( $this->_tpl_vars['options'] )): ?>
	<div class="field_bound_box categories">
		<ul>
			<li>
			<table class="fixed">
			<tr>
			<?php $_from = $this->_tpl_vars['options']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['fCats'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['fCats']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['option']):
        $this->_foreach['fCats']['iteration']++;
?>
				<td valign="top">
					<div class="item">
						<?php if (( $this->_tpl_vars['icons_position'] == 'left' || $this->_tpl_vars['icons_position'] == 'top' ) && $this->_tpl_vars['option']['Icon']): ?>
							<div style="<?php if ($this->_tpl_vars['icons_position'] == 'left'): ?>display: inline;<?php else: ?>display: block;<?php endif; ?>">
								<a class="category cat_icon" title="<?php echo $this->_tpl_vars['lang'][$this->_tpl_vars['option']['pName']]; ?>
" href="<?php echo $this->_tpl_vars['rlBase']; ?>
<?php if ($this->_tpl_vars['config']['mod_rewrite']): ?><?php echo $this->_tpl_vars['path']; ?>
/<?php echo $this->_tpl_vars['option']['Key']; ?>
/<?php else: ?>?page=<?php echo $this->_tpl_vars['pages']['listings_by_field']; ?>
&amp;<?php echo $this->_tpl_vars['path']; ?>
=<?php echo $this->_tpl_vars['option']['Key']; ?>
<?php endif; ?>">
									<img src="<?php echo @RL_URL_HOME; ?>
files/<?php echo $this->_tpl_vars['option']['Icon']; ?>
" title="<?php echo $this->_tpl_vars['lang'][$this->_tpl_vars['option']['pName']]; ?>
" alt="<?php echo $this->_tpl_vars['lang'][$this->_tpl_vars['option']['pName']]; ?>
" />
								</a>
							</div>
						<?php endif; ?>

						<a class="category" title="<?php echo $this->_tpl_vars['lang'][$this->_tpl_vars['option']['pName']]; ?>
" href="<?php echo $this->_tpl_vars['rlBase']; ?>
<?php if ($this->_tpl_vars['config']['mod_rewrite']): ?><?php echo $this->_tpl_vars['path']; ?>
/<?php echo $this->_tpl_vars['option']['Key']; ?>
/<?php else: ?>?page=<?php echo $this->_tpl_vars['pages']['listings_by_field']; ?>
&amp;<?php echo $this->_tpl_vars['path']; ?>
=<?php echo $this->_tpl_vars['option']['Key']; ?>
<?php endif; ?>"><?php echo $this->_tpl_vars['lang'][$this->_tpl_vars['option']['pName']]; ?>
</a>
						<?php if ($this->_tpl_vars['show_count']): ?><span>(<b><?php echo $this->_tpl_vars['option']['Count']; ?>
</b>)</span><?php endif; ?>

						<?php if (( $this->_tpl_vars['icons_position'] == 'right' || $this->_tpl_vars['icons_position'] == 'bottom' ) && $this->_tpl_vars['option']['Icon']): ?>
							<div style="<?php if ($this->_tpl_vars['icons_position'] == 'right'): ?>display: inline;<?php else: ?>display: block;<?php endif; ?>">
								<a class="category cat_icon" title="<?php echo $this->_tpl_vars['lang'][$this->_tpl_vars['option']['pName']]; ?>
" href="<?php echo $this->_tpl_vars['rlBase']; ?>
<?php if ($this->_tpl_vars['config']['mod_rewrite']): ?><?php echo $this->_tpl_vars['path']; ?>
/<?php echo $this->_tpl_vars['option']['Key']; ?>
/<?php else: ?>?page=<?php echo $this->_tpl_vars['pages']['listings_by_field']; ?>
&amp;<?php echo $this->_tpl_vars['path']; ?>
=<?php echo $this->_tpl_vars['option']['Key']; ?>
<?php endif; ?>">
									<img src="<?php echo @RL_URL_HOME; ?>
files/<?php echo $this->_tpl_vars['option']['Icon']; ?>
" title="<?php echo $this->_tpl_vars['lang'][$this->_tpl_vars['option']['pName']]; ?>
" alt="<?php echo $this->_tpl_vars['lang'][$this->_tpl_vars['option']['pName']]; ?>
" />
								</a>
							</div>
						<?php endif; ?>
					</div>
				</td>
				
				<?php if ($this->_foreach['fCats']['iteration']%$this->_tpl_vars['columns_number'] == 0 && ! ($this->_foreach['fCats']['iteration'] == $this->_foreach['fCats']['total'])): ?>
				</tr>
				<tr>
				<?php endif; ?>
			<?php endforeach; endif; unset($_from); ?>
			</tr>
			</table>
			</li>
		</ul>
		<div class="clear"></div>
	</div>
<?php endif; ?>
<!-- field-bound box tpl end-->